package com.jhd.jiangxi.vo;

import com.jhd.jiangxi.recycle.bean.BaseBean;

import java.util.Date;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 销售出库主表
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SaleDeliveryMstVo extends BaseBean {
    private String id;
    //部门编号--->列名: DEPT_ID
    private String deptId;
    //来源类型 0-自制单据 1-销售订单 2-下级采购申请--->列名: SOURCE_TYPE
    private String sourceType;
    //来源编号--->列名: SOURCE_ID
    private String sourceId;
    //价格本主表编号--->列名: PRICE_BOOK_MST_ID
    private String priceBookMstId;
    //价格本编号--->列名: PRICE_BOOK_NO
    private String priceBookNo;
    //销售交货单号--->列名: ORDER_NO
    private String orderNo;
    //销售订单号
    private String saleOrderNo;
    //运输单号
    private String transformOrderNo;
    //出货单位编号--->列名: SALE_DEPT_ID
    private String saleDeptId;
    //出货单位名称--->列名: SALE_DEPT_NAME
    private String saleDeptName;
    //疫苗类别 1-一类疫苗 2-二类疫苗--->列名: CATEGORY
    private String category;
    //总数量--->列名: TOTAL_QUANTITY
    private Double totalQuantity;
    //总金额--->列名: TOTAL_AMOUNT
    private Double totalAmount;
    //备注--->列名: REMARK
    private String remark;
    //审批流名称
    private String approvalName;
    private String approvalId;
    //状态:10-新增 15审核中 20-已审核  30-已关闭 40-已删除-->列名: STATUS
//    private short status;
//    // 审核序号--->列名: APPROVAL_ID
//    private String approvalId;
//    // 审核序号--->列名: APPROVAL_INDEX
//    private short approvalIndex;
    //创建者--->列名: CREATE_USER
    private String createUser;
    //创建时间--->列名: CREATE_TIME
    private Date createTime;
    //修改者--->列名: MODIFY_USER
//    private String modifyUser;
//    //修改时间--->列名: MODIFY_TIME
//    private Date modifyTime;
    private List<SaleDeliveryDtlVo> dtl;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getSourceType() {
        return sourceType;
    }

    public void setSourceType(String sourceType) {
        this.sourceType = sourceType;
    }

    public String getSourceId() {
        return sourceId;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    public String getPriceBookMstId() {
        return priceBookMstId;
    }

    public void setPriceBookMstId(String priceBookMstId) {
        this.priceBookMstId = priceBookMstId;
    }

    public String getPriceBookNo() {
        return priceBookNo;
    }

    public void setPriceBookNo(String priceBookNo) {
        this.priceBookNo = priceBookNo;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getSaleOrderNo() {
        return saleOrderNo;
    }

    public void setSaleOrderNo(String saleOrderNo) {
        this.saleOrderNo = saleOrderNo;
    }

    public String getTransformOrderNo() {
        return transformOrderNo;
    }

    public void setTransformOrderNo(String transformOrderNo) {
        this.transformOrderNo = transformOrderNo;
    }

    public String getSaleDeptId() {
        return saleDeptId;
    }

    public void setSaleDeptId(String saleDeptId) {
        this.saleDeptId = saleDeptId;
    }

    public String getSaleDeptName() {
        return saleDeptName;
    }

    public void setSaleDeptName(String saleDeptName) {
        this.saleDeptName = saleDeptName;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public Double getTotalQuantity() {
        return totalQuantity;
    }

    public void setTotalQuantity(Double totalQuantity) {
        this.totalQuantity = totalQuantity;
    }

    public Double getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(Double totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

//    public short getStatus() {
//        return status;
//    }
//
//    public void setStatus(short status) {
//        this.status = status;
//    }
//
//    public String getApprovalId() {
//        return approvalId;
//    }
//
//    public void setApprovalId(String approvalId) {
//        this.approvalId = approvalId;
//    }
//
//    public short getApprovalIndex() {
//        return approvalIndex;
//    }
//
//    public void setApprovalIndex(short approvalIndex) {
//        this.approvalIndex = approvalIndex;
//    }

    public String getApprovalName() {
        return approvalName;
    }

    public void setApprovalName(String approvalName) {
        this.approvalName = approvalName;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public List<SaleDeliveryDtlVo> getDtl() {
        return dtl;
    }

    public void setDtl(List<SaleDeliveryDtlVo> dtl) {
        this.dtl = dtl;
    }
//    public String getModifyUser() {
//        return modifyUser;
//    }
//
//    public void setModifyUser(String modifyUser) {
//        this.modifyUser = modifyUser;
//    }
//
//    public Date getModifyTime() {
//        return modifyTime;
//    }
//
//    public void setModifyTime(Date modifyTime) {
//        this.modifyTime = modifyTime;
//    }
}
